package wwj.bean;

import java.math.BigDecimal;

public class CommodityBean {
    private int id;
    private String info;
    private String imgPath;
    private int sort;
    private BigDecimal price;
    private int storge;

    @Override
    public String toString() {
        return "CommodityBean{" +
                "id=" + id +
                ", info='" + info + '\'' +
                ", imgPath='" + imgPath + '\'' +
                ", sort=" + sort +
                ", price=" + price +
                ", storge=" + storge +
                '}';
    }

    public CommodityBean(int id, String info, String imgPath, int sort, BigDecimal price, int storge) {
        this.id = id;
        this.info = info;
        this.imgPath = imgPath;
        this.sort = sort;
        this.price = price;
        this.storge = storge;
    }
    public CommodityBean(){

    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public int getStorge() {
        return storge;
    }

    public void setStorge(int storge) {
        this.storge = storge;
    }
}
